home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / beos / PPBeDevKit.ZIP / PLAYERPR.TAR / PlayerPRO / Source / Import-Export / DMF.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-26  |  2.3 KB  |  139 lines

  1. /********************                        ***********************/
  2. //
  3. //    Player PRO 5.0 - DRIVER SOURCE CODE -
  4. //
  5. //    Library Version 5.0
  6. //
  7. //    To use with MAD Library for Mac: Symantec, CodeWarrior and MPW
  8. //
  9. //    Antoine ROSSET
  10. //    16 Tranchees
  11. //    1206 GENEVA
  12. //    SWITZERLAND
  13. //
  14. //    COPYRIGHT ANTOINE ROSSET 1996, 1997, 1998
  15. //
  16. //    Thank you for your interest in PlayerPRO !
  17. //
  18. //    FAX:                (+41 22) 346 11 97
  19. //    PHONE:             (+41 79) 203 74 62
  20. //    Internet:     RossetAntoine@bluewin.ch
  21. //
  22. /********************                        ***********************/
  23.  
  24. #ifndef COMPIL68K 
  25. #pragma options align=mac68k
  26. #endif
  27.  
  28. typedef struct ITPatForm
  29. {
  30.     unsigned short        length;
  31.     unsigned short        row;
  32.     char                no[ 4];
  33.     char                data[];
  34. } ITPatForm;
  35.  
  36. typedef struct ITSampForm
  37. {
  38.     long        ID;
  39.     char        DOSName[ 12];
  40.     char        no;
  41.     char        GvL;
  42.     char        Flag;
  43.     char        Vol;
  44.     char        SampName[ 26];
  45.     short    Convert;
  46.     long        length;
  47.     long        loopBegin;
  48.     long        loopEnd;
  49.     long        C5Speed;
  50.     long        SusLoopBegin;
  51.     long        SusLoopEnd;
  52.     long        samplePtr;
  53.     char        ViS;
  54.     char        ViD;
  55.     char        ViR;
  56.     char        ViT;
  57. } ITSampForm;
  58.  
  59. typedef struct ITNode
  60. {
  61.     char        y;
  62.     short    x;
  63. } ITNode;
  64.  
  65. typedef struct ITEnv
  66. {
  67.     char        Flag;
  68.     char        Num;
  69.     char        LpB;
  70.     char        LpE;
  71.     char        SLB;
  72.     char        SLE;
  73.     ITNode    nodes[];
  74. } ITEnv;
  75.  
  76. typedef struct ITInsForm
  77. {
  78.     long        ID;
  79.     char        DOSName[ 12];
  80.     char        no;
  81.     char        NNA;
  82.     char        DCT;
  83.     char        DCA;
  84.     short    FadeOut;
  85.     char        PPS;
  86.     char        PPC;
  87.     char        GbV;
  88.     char        DfP;
  89.     char        no2[ 2];
  90.     short    TrkVers;
  91.     char        NoS;
  92.     char        no3;
  93.     char        INSName[ 26];
  94.     char        no4[ 6];
  95.     char        keyMap[ 240];
  96.     ITEnv    volEnv;
  97.     ITEnv    panEnv;
  98.     ITEnv    pitchEnv;
  99. } ITInsForm;
  100.  
  101. typedef struct ITForm
  102. {
  103.     long                ID;
  104.     char                     name[26];
  105.     char                     no[ 2];
  106.     
  107.     short              orderNum;
  108.     short               insNum;
  109.     short               smpNum;
  110.     short                  patNum;
  111.     short                 cwtv;
  112.     short            Cmwt;
  113.     short                  flags;
  114.     short            special;
  115.     
  116.     char                globalVol;
  117.     char                mixVol;
  118.     char                iSpeed;
  119.     char                iTempo;
  120.     char                panSeparation;
  121.     char                null;
  122.     short            MsgLgth;
  123.     long                MsgOffset;
  124.     char                no2[ 4];
  125.     
  126.     char                chanPan[ 64];
  127.     char                chanVol[ 64];
  128.     
  129.     unsigned char          *orders;
  130.     long                *parapins;
  131.     long                *parapsamp;
  132.     long                *parappat;
  133.     
  134.     ITInsForm            *insdata;
  135.     ITSampForm        *sampdata;
  136. } ITForm;
  137. #ifndef COMPIL68K        
  138. #pragma options align=power
  139. #endif